package com.example.demo.mqsever.core;

// 交换机和队列之间的关联关系
public class Binding{
    // 交换机名称
    private String exchangeName;
    // 队列名称
    private String queueName;
    // 算是使用暗号
    private String bindingKey;
    // 持久化依赖于交换机和队列，只针对绑定进行持久化无意义

    public String getExchangeName() {
        return exchangeName;
    }

    public void setExchangeName(String exchangeName) {
        this.exchangeName = exchangeName;
    }

    public String getQueueName() {
        return queueName;
    }

    public void setQueueName(String queueName) {
        this.queueName = queueName;
    }

    public String getBindingKey() {
        return bindingKey;
    }

    public void setBindingKey(String bingingkey) {
        this.bindingKey = bingingkey;
    }
}
